<?php echo $this->doctype() . "\n"; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php echo $this->headMeta() . "\n"; ?>
<?php echo $this->headLink() . "\n"; ?>
<?php echo $this->headTitle() . "\n"; ?>
<?php echo $this->headStyle() . "\n"; ?>
<?php echo $this->headScript() . "\n"; ?>
<?php echo $this->dojo() . "\n"; ?>
<?php $layout = $this->layout()->getLayout(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->resource('styles/' . $layout . '/main.css'); ?>" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->resource('styles/' . $layout . '/print.css'); ?>" media="print" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo $this->resource('styles/' . $layout . '/ie6_or_less.css'); ?>" />
<![endif]-->
</head>
<body>
<?php echo $this->inlineScript() . "\n"; ?>
    <div id="wrap">
        <div id="header">
            <div id="site-name"><?php echo $this->placeholder('branding'); ?></div>
            <div id="search">
                <form action="">
                <label for="searchsite">Site Search:</label>
                <input id="searchsite" name="searchsite" type="text" />
                <input type="submit" value="Go" class="f-submit" />
                </form>
            </div>
            <ul id="nav">
                <li class="first"><a href="<?php echo $this->Url(array(), 'root_path', true); ?>">Home</a></li>
                <li><a href="<?php echo $this->Url(array(), 'blog_path', true); ?>">Blog</a></li>
                <li><a href="<?php echo $this->Url(array(), 'about_path', true); ?>">About</a></li>
                <li><a href="<?php echo $this->Url(array(), 'contact_path', true); ?>">Contact</a></li>
                <li class="last"><a href="<?php echo $this->Url(array(), 'help_path', true); ?>">Help</a></li>
            </ul>
        </div>        
        <div id="content-wrap">
            <div id="content">
                <?php echo $this->layout()->content . "\n"; ?>
                <div id="footer">       
                    <p>&copy; <?php echo date('Y'); ?> <strong><?php echo $this->placeholder('branding'); ?></strong></p>
                </div>
            </div>
            <div id="sidebar">
                <?php echo $this->action('index', 'sidebar', 'blog') . "\n"; ?>
            </div>
            <div id="poweredby"></div>
        </div>
    </div>
</body>
</html>